@import './src/styles/style';

.HomeGuruContainer {
  background-color: #F5F8FC;
  padding: rem-calc(49) 0 rem-calc(65px) 0;
}

/** Card Item **/
.CardItem {
  color: #0a2240;
  background-color: #ffffff;
  padding: rem-calc(20px);
  font-family: $font-family-base;
  font-weight: 400;
  margin-top: rem-calc(10px);
}
.CardHeading {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 15px;
}
.CardTitle {
  font-size: rem-calc(20px);
  color: #000000;
  letter-spacing: 0;
  line-height: rem-calc(24px);
  font-weight: $medium;
  margin: 0 rem-calc(5px) rem-calc(2px) 0;
}
.CardImage {
  position: relative;
  overflow: hidden;
  min-width: 35%;
  flex-basis: 35%;
  img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
  }
}
.CardCreator {
  .CreatorComponent {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    svg {
      width: 28px;
      height: 28px;
    }
    .CreatorAlias {
      margin-left: 10px;
      color: #000;
    }
  }
}
.CardParameters {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  .Icon {
    margin-right: 10px;
    color: #9caec2;
    font-size: rem-calc(16px);
  }
  .Countdown {
    display: inline-block;
  }
}
.HasStatistics {
  .CardParameters {
    display: inline-flex;
    flex-direction: column;
    > div {
      margin-bottom: 3px;
    }
    .Icon {
      display: inline-block;
      min-width: 16px;
      margin: 0 16px 0 6px;
    }
  }
  .CardStatistics {
    display: inline-flex;
    float: right;
    margin: -40px 0 20px 0;
  }
  .CardActions {
    clear: both;
  }
}
.CardStatistics {
  .Statistics {
    display: flex;
    flex-basis: 50%;
    .Item {
      display: flex;
      flex-direction: column;
      flex-basis: 50%;
      text-align: center;
    }
    .Name {
      font-size: rem-calc(14px);
    }
    .Percent {
      font-size: rem-calc(15px);
      font-weight: 600;
    }
  }
}
.CardActions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  button {
    text-transform: capitalize;
    font-weight: 700;
    min-width: 48%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .btn-secondary {
    background-color: #748599;
  }
}
.CardShares {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-bottom: -6px;
  border-top: 1px solid #EFEFEF;
  .Comment > i {
    margin-right: 5px;
  }
  .Comment a {
    color: #748599;
  }
  .share-social {
    margin-right: -5px;
  }
  .share-social img {
    width: 32px;
    margin-right: 8px;
  }
}
.RelatedMatches {
  position: relative;
  font-weight: 500;
  padding: rem-calc(20px);
  padding-bottom: rem-calc(10px);
  &:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 12px;
    margin-left: -5px;
    margin-right: 5px;
    background-color: #007bff;
  }
}
.ViewAllMatches {
  outline: none;
  display: block;
  padding: rem-calc(20px);
  padding-bottom: rem-calc(10px);
  text-align: center;
  &:hover, &:active {
    text-decoration: none;
  }
}

/** Disclaimer **/
.Disclaimer {
  font-size: 11px;
  padding: rem-calc(10px);

  span {
    font-weight: bold;
    font-size: 12px;
    padding-bottom: 5px;
    display: block;
  }
}

/** EmailSubscribe **/
.modal.EmailSubscriberModal {
  text-align: center;
  .modal-dialog-content {
    position: relative;
    border-radius: 10px;
  }
  .modal-custom-body {
    border-radius: 10px;
    padding: 30px 15px;
  }
  .close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 20;
    opacity: 1;
    color: #000;
    font-size: 20px;
    font-weight: 100;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    border: 1px solid #dcdcdc;
  }
  .SubscriberImage {
    margin: 0 auto 30px auto;
  }
  .SubscriberTitle {
    text-align: center;
    font-size: rem-calc(18px);
    font-weight: 500;
    margin-bottom: 10px;
  }
  .SubscriberDescription {
    font-size: rem-calc(14px);
    margin-bottom: 15px;
    text-align: center;
    .highlight {
      color: #04C695;
      font-weight: 500;
    }
  }
  form {
    display: flex;
    flex-direction: column;
    input {
      outline: none;
      text-align: center;
      color: #000;
      border-radius: 30px;
      border: 1px solid #dcdcdc;
      font-size: rem-calc(14px);
      padding: 12px 10px;
      margin-bottom: 10px;
      -webkit-appearance: none;
      appearance: none;
    }
    button {
      outline: none;
      height: 49px;
      font-weight: 500;
      border-radius: 30px;
    }
    .ErrMsg {
      font-size: rem-calc(14px);
      margin-bottom: 10px;
      color: #ff0000;
    }
  }
}

/** Report Notice **/
.ReportNotice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
  padding: 10px;
  .btn-report {
    width: 50%;
    color: #ffffff;
    text-transform: uppercase;
    background: #000000;
    margin-top: 10px;
    border: 1px solid #ffffff;
  }
}
